<?php
	$tour = new Tour();
	$tour->select($tour_id);
	if ($tour) {
		$locations = $tour->getAllAvailableLocations();
		foreach ($locations as $location) 
			if ($location->getcountry() == $country_id) { // by default we load all location for the 1st country	
				echo '<option value="'.$location->getid().'">'.$location->getname().'</option>';
			}
	}
?>